package com.fnfn.sdk.api.service;

import java.util.List;

import com.fnfn.sdk.api.entity.Permission;


public interface IPermissionService {
    
    Permission selectByPermissionName(String permissionName) throws Exception;

    Permission selectByPermissionType(String permissionType) throws Exception;

    void add(Permission permission) throws Exception;

    void remove(Integer cPermissionId) throws Exception;

    void modify(Permission permission) throws Exception;

    List<Permission> selectByCondition(Permission permission) throws Exception;

    List<Permission> selectByConditionRole(Permission permission) throws Exception;
}
